﻿@model IEnumerable<b7.Models.BaiViet>
<div id="carousel" class="slide">
	<ul>
    @try
    {
          foreach (var item in Model)
          {
		<li><img alt="" src="../..@Html.DisplayFor(modelItem => item.AnhMinhHoa)"/><p>@Html.ActionLink(item.TenBaiViet, "chitiettintuc", new { id = item.BaiVietId })<br />@Html.DisplayFor(modelItem => item.TomTat)</p>
		</li>
          }
    }
    catch (Exception)
    { 
        @Html.Display("không cs dữ liệu");
    }
        
	</ul>
</div>
